package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户轮胎报警值设置表
 * </p>
 *
 * @author LX
 * @since 2018-10-09
 */
@TableName("erp_tpms_tire_information_car")
public class ErpTpmsTireInformationCar extends Model<ErpTpmsTireInformationCar> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    private Integer carid;
    /**
     * 品牌
     */
    private String brand;
    /**
     * 规格
     */
    private String specifications;
    /**
     * 型号
     */
    private String model;
    /**
     * 产地
     */
    private String place;
    /**
     * 速度
     */
    private Double speed;
    /**
     * 最大胎压
     */
    private Double pressure;
    /**
     * 最小胎压
     */
    @TableField("pressure_small")
    private Double pressureSmall;
    /**
     * 最小电压
     */
    @TableField("voltage_small")
    private Double voltageSmall;
    /**
     * 最大温度
     */
    private Double temperature;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    

    public Integer getCarid() {
		return carid;
	}

	public void setCarid(Integer carid) {
		this.carid = carid;
	}

	public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

    public Double getPressure() {
        return pressure;
    }

    public void setPressure(Double pressure) {
        this.pressure = pressure;
    }

    public Double getPressureSmall() {
        return pressureSmall;
    }

    public void setPressureSmall(Double pressureSmall) {
        this.pressureSmall = pressureSmall;
    }

    public Double getVoltageSmall() {
        return voltageSmall;
    }

    public void setVoltageSmall(Double voltageSmall) {
        this.voltageSmall = voltageSmall;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpTpmsTireInformation{" +
        ", id=" + id +
        ", carid=" + carid +
        ", brand=" + brand +
        ", specifications=" + specifications +
        ", model=" + model +
        ", place=" + place +
        ", speed=" + speed +
        ", pressure=" + pressure +
        ", pressureSmall=" + pressureSmall +
        ", voltageSmall=" + voltageSmall +
        ", temperature=" + temperature +
        "}";
    }
}
